<?php

include ($_SERVER['DOCUMENT_ROOT'].'/config/connect.php');

?>

<?php
$result = mysql_query("SELECT naam, aantal_eigen_leden FROM vereniging ORDER BY aantal_eigen_leden ");
if (mysql_error()) die (mysql_error ()); 
?>

<head>
<link rel="stylesheet" type="text/css" href="../../layout/mystyle.css">
</head>

<SPAN CLASS="text_h1">Leden per vereniging</SPAN>
<BR>
<BR>

<SPAN CLASS="text_normal">

<table class="rapporttable">
<TR>
<th class="rapporttable"> Vereniging: </th>        
<th class="rapporttable"> Aantal leden: </th>
</TR>

<?php
while ($row = mysql_fetch_array($result)) {
echo ('<tr>');
echo ('<td>' . $row ['naam'] . '</td>');
echo ('<td>' . $row ['aantal_eigen_leden'] . '</td>');
}
?>
</tr>	  
</table>
</span>